﻿using System.Data.Linq.Mapping;

namespace AEM.Data.Model
{
    [Table(Name = "TableFaultDefinition")]
    public class FaultDefinition
    {
        public FaultDefinition()
        {
            this.ID = 0;
            this.FaultCode = string.Empty;
            this.FaultName = string.Empty;
            this.FaultReason = string.Empty;
        }
        [Column(IsPrimaryKey = true)]
        public int ID { get; set; }
        [Column]
        public string FaultCode { get; set; }
        [Column]
        public string FaultName { get; set; }
        [Column]
        public string FaultReason { get; set; }
    }
}
